package com.atguigu.gmall.order.client.impl;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.model.order.OrderInfo;
import com.atguigu.gmall.order.client.OrderFeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

/**
 * @author Sanmier
 * @create 2020-12-18 16:47
 */
@Component
public class OrderDegradeFeignClient implements OrderFeignClient {


    // 确认订单
    @Override
    public Result<Map<String, Object>> trade() {
        return null;
    }


    // 根据订单Id 查询订单信息
    @Override
    public OrderInfo getOrderInfo(Long orderId) {
        return null;
    }
}
